package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;

/**
 * @BelongsProject: jc-club
 * @BelongsPackage: com.jingdianjichi.subject.domain.handler.subject
 * @Author: liyajun
 * @CreateTime: 2025-08-03  12:07
 * @Description: TODO
 * @Version: 1.0
 */
public interface SubjectTypeHandler {


    /**
    * 枚举身份识别
    * */
    SubjectInfoTypeEnum getHandlerType();

    /**
    * 实际的题目的插入
     * */
    void add(SubjectInfoBO subjectInfoBO);

    /**
     * 查询题目的选项信息
     */
    SubjectOptionBO query(int subjectId);

}
